﻿using System;
using WebShop.Contracts;
using Webdiyer.WebControls.Mvc;

namespace WebShop.DAL.Interfaces
{
    public interface ILogRepository
    {
        void Add(Exception ex, String user = null, Boolean isServerError = true);
        void Add(String description, String user = null, Boolean isServerError = false);
        LogItem Get(long? id);
        PagedList<LogItem> List(int? page, int? pageSize);
    }
}